package com.woniuxy.service;

import com.woniuxy.entity.ComComment;
import com.woniuxy.entity.ComCommentLikes;

import java.util.List;

public interface ComCommentService {

    List<ComComment> getCommentsByCommunityId(Integer communityId);

    void insertComment(ComComment comment);

    void incrementLikesCount(Integer userId, Integer commentId);

    List<ComComment> getHotComments();

    void decrementLikesCount(Integer userId, Integer commentId);

    List<ComCommentLikes> getUserLikeComment(Integer userId);
}
